package com.example.xpvideo.service;

import com.example.xpvideo.entity.PageResult;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.PhpVideoReq;
import com.example.xpvideo.entity.req.UpdateReq;
import com.example.xpvideo.entity.res.PhpVideoRes;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/9/14 15:25
 * @description:
 */
public interface PhpVideoService {
    ResponseResult<PageResult<List<PhpVideoRes>>> list(PhpVideoReq phpVideoReq) throws ErrorException;
    ResponseResult<Object> delete(UpdateReq updateReq) throws ErrorException;
}
